package com.alipay.config;

/* *
 *类名：AlipayConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 *版本：3.3
 *日期：2012-08-10
 *说明：
 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。
	
 *提示：如何获取安全校验码和合作身份者ID
 *1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
 *2.点击“商家服务”(https://b.alipay.com/order/myOrder.htm)
 *3.点击“查询合作者身份(PID)”、“查询安全校验码(Key)”

 *安全校验码查看时，输入支付密码后，页面呈灰色的现象，怎么办？
 *解决方法：
 *1、检查浏览器配置，不让浏览器做弹框屏蔽设置
 *2、更换浏览器或电脑，重新登录查询。
 */

public class AlipayConfig {
	
	//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
	// 合作身份者ID，以2088开头由16位纯数字组成的字符串
	public static String partner = "2088911271469394";
	// 商户的私钥,使用支付宝自带的openssl工具生成。
//	public static String private_key = "MIICXAIBAAKBgQCptV6tpkVa4orMNDOoeRz1ir16VDqGdqy8hAfldAVHAmC6lVwJx8E3nyxXEaTBpfZe1AvQm29m2ehCP3USBTYCMXGf01iX/EUP+dM+4Kt4Cvvek8dJhYlgzqBDxsym+uF7j5lZWxyH25LIPw7HDoViYfc2lKqre+gD/dNW0InhUQIDAQABAoGATW/E09eare3RB3yKVcVtwVydOMRWMCTWjO5x6/EUt2IOYRTl+lB7ibXHtbMHSpU/5eU7vuQt4PBtWk06Tg6ypW9PjDsOM9sK0tcM44AOs2occzMS4ixujhgfBC50Z2aJzqSVxm65nn43UtnOIO1wSVpGPKljIXV7fiR7TVPQewECQQDSu6owrO77Pn5o6i/av+Unmsg997wtkXgaFl2Y/g7pbtnScFlCAvWxX5CGbzr6fs4epBvQ89QBAyk0stdzD8alAkEAzim9HMKLM7dqyXtkG9EbyM7TFhEd2sUjr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DH2MkO+NQJAcnjqrUyKjMDfyfKgAAPUu9wRNrDmDuM8ic142XfjHAIleLys6YK8/+/H0nWKQq8hoS+2ZZM13Ka93glIv968sQ==";
	// 支付宝的公钥，无需修改该值
//	public static String ali_public_key  = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB";
	public static String ali_public_key  = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCPw7M9ugRa3+QvDAhnUYJhXo3gb8XHGbO+0YQmAROcLtjvk9cuy+X7DzI+ag66em1gt+V4iOq5upRHARHU8yH0dxftC0RrhtFaaxoqpT6yS3V5w+gv/ClADJhN4f3OF70vmp6Gq68vHhVWtQ8GcCWGco1mqQT1cYE6niSzOhkn4QIDAQAB";

	//↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
	public static final String SIGN_ALGORITHMS = "SHA1WithRSA";
	
	public static String seller = "yuping.yu@eddatech.com.cn";

	// 调试用，创建TXT日志文件夹路径
	public static String log_path = "D:\\";

	// 字符编码格式 目前支持 gbk 或 utf-8
	public static String input_charset = "UTF-8";
	
	// 签名方式 不需修改
	public static String sign_type = "RSA";

}
